package com.apesource.bookBuy.bean;

import java.util.Date;

/**
 * @version 1.0
 * @auther:暮雪
 * @date:2025/9/5
 */
public class PayBook {
    private int pid;
    private int bid;
    private int uid;
    private String tradeno;
    private String subject;
    private double total;
    private String body;
    private Date payTime;

    public PayBook() {
    }

    public PayBook(int pid, int bid, int uid, String tradeno, String subject, double total, String body, Date payTime) {
        this.pid = pid;
        this.bid = bid;
        this.uid = uid;
        this.tradeno = tradeno;
        this.subject = subject;
        this.total = total;
        this.body = body;
        this.payTime = payTime;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getTradeno() {
        return tradeno;
    }

    public void setTradeno(String tradeno) {
        this.tradeno = tradeno;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
}
